package com.cxrj.zhsq.userManage.dao;

import java.util.List;
import java.util.Map;

import com.cxrj.zhsq.userManage.entity.Menu;

public interface MenuMapper {
	int deleteByPrimaryKey(String menuId);

	int insert(Menu record);

	int insertSelective(Menu record);

	Menu selectByPrimaryKey(String menuId);

	int updateByPrimaryKeySelective(Menu record);

	int updateByPrimaryKey(Menu record);

	List<Map<String, Object>> selectMenusByParentId(Map<String, Object> map);

	Map<String, Object> selectMenuByCode(Map<String, Object> map);

	void insertMenu(Map<String, Object> map);

	void updateMenu(Map<String, Object> map);

	void deleteByIds(List<Object> ids);

	List<Menu> selectByZtreePId(Integer ztreePId);
	
	Menu selectByMenuCode(String menuCode);
}